package entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/9.
 */
public class StationEntity implements Serializable{
    private Long stationId;//车站编号
    private String trainNum;//车次
    private String station;//车站
    private String outTime;//发车时间
    private Integer dayTime;//到站天数
    private Float sitePrice;//硬座票价

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getTrainNum() {
        return trainNum;
    }

    public void setTrainNum(String trainNum) {
        this.trainNum = trainNum;
    }

    public String getStation() {
        return station;
    }

    public void setStation(String station) {
        this.station = station;
    }

    public String getOutTime() {
        return outTime;
    }

    public void setOutTime(String outTime) {
        this.outTime = outTime;
    }

    public Integer getDayTime() {
        return dayTime;
    }

    public void setDayTime(Integer dayTime) {
        this.dayTime = dayTime;
    }

    public Float getSitePrice() {
        return sitePrice;
    }

    public void setSitePrice(Float sitePrice) {
        this.sitePrice = sitePrice;
    }

    public StationEntity(Long stationId, String trainNum, String station, String outTime, Integer dayTime, Float sitePrice) {
        this.stationId = stationId;
        this.trainNum = trainNum;
        this.station = station;
        this.outTime = outTime;
        this.dayTime = dayTime;
        this.sitePrice = sitePrice;
    }
    public StationEntity(){
        super();
    }

    @Override
    public String toString() {
        return "StationEntity{" +
                "stationId=" + stationId +
                ", trainNum='" + trainNum + '\'' +
                ", station='" + station + '\'' +
                ", outTime='" + outTime + '\'' +
                ", dayTime=" + dayTime +
                ", sitePrice=" + sitePrice +
                '}';
    }
}
